package com.zbkj.admin.mapper1;

import com.mybatisflex.core.BaseMapper;
import com.mybatisflex.core.row.Db;
import com.mybatisflex.core.util.MapperUtil;
import com.mybatisflex.core.util.SqlUtil;
import com.zbkj.admin.pojo.EbUserEntity;

import java.util.Collection;

public interface EbUserMapper extends BaseMapper<EbUserEntity> {


//    default <Y> boolean updateBatch(Collection<Y> entities) {
//        return updateBatch(entities, 1000);
//    }
//
//    default <Y> boolean updateBatch(Collection<Y> entities, int batchSize) {
//        Class<? extends BaseMapper> usefulClass = getClass();
//        return SqlUtil.toBool(Db.executeBatch(entities, batchSize, usefulClass, BaseMapper::insertOrUpdateSelective));
//    }

}
